{extends "../@layout.latte"}
{block head}
<link rel="stylesheet" href="{$basePath}/css/{$colorstyle}/project.css">
{/block}

{block submenu}
<div id="submenu">
	<table><tr>
			<td class="submenu_item"><a href="{link overview, $id}"{ifCurrent overview} class="current"{/ifCurrent}>Úkoly</a></td>
			<td class="submenu_item"><a href="{link milestones, $id}"{ifCurrent milestones} class="current"{/ifCurrent}>Milníky</a></td>
			<td class="submenu_item"><a href="{link documents, $id}"{ifCurrent documents} class="current"{/ifCurrent}>Dokumenty</a></td>
			<td class="submenu_item"><a href="{link flowChart, $id}"{ifCurrent flowChart} class="current"{/ifCurrent}>Diagram</a></td>
			<td class="submenu_item"><a href="{link calendar, $id}"{ifCurrent calendar} class="current"{/ifCurrent}>Kalendář</a></td>
		{if $user->isAllowed('project','edit') || $user->isAllowed($projectResource,'project_edit')}<td class="submenu_item"><a href="{link settings, $id}">Nastavení</a></td>{/if}
		</tr></table>
</div>
{block localsubmenu}{/block}
{/block}